package com.baizhi.cmfzmanager.dao;

import com.baizhi.cmfzmanager.entity.Album;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AlbumDao extends BaseMapper<Album> {

    int getcount();
    List<Album> getAlbums(@Param("start") int start,@Param("rows") int rows);
    void update(Album album);
    void add(Album album);
    void delete(int[] ids);

    List<Album> getAll();

    List<Album> getShouyeAlbum();

    Album getAlbumById(Integer id);
}
